package vigo_tool

type CacheInterface interface {
	Set(key string, value interface{}) error
	Get(key string) (interface{}, error)
	Del(key string) (interface{}, error)
	GetSet(key string, value interface{}) (interface{}, error)
	SetNx(key string, value interface{}) (interface{}, error)
	SetExpire(expireTime int64)
	GetExpire() int64
	Close() error
}
